<template>
	<uv-avatar 
		:size="size" 
		:src="imgUrl"
		:shape="shape"
		:mode="mode"
		:text="text"
		:bgColor="bgColor"
		:color="color"
		:fontSize="fontSize"
		:icon="icon"
		:mpAvatar="mpAvatar"
		:randomBgColor="randomBgColor"
		:defaultUrl="defaultUrl"
		:name="name"
		></uv-avatar>
</template>

<script setup>
	import propsDocument from "./props.js"
	import { _static } from "@/sheep/url"
	const props = defineProps({
		...propsDocument
	})
	const imgUrl = computed(() => {
		return _static(props.src)
	})
</script>

<style>

</style>